package com.aaa.hospital.service;

import com.aaa.hospital.pojo.domain.Dept;
import com.aaa.hospital.pojo.query.DeptQuery;
import com.aaa.hospital.result.AjaxResult;

/**
 * @Author: HJT
 * @DateTime: 2022/1/15 12:08
 * @Description: TODO
 */
public interface DeptService {
    AjaxResult queryDept(DeptQuery query);

    AjaxResult addDept(Dept dept);

    AjaxResult deleteDept(Integer id);

    AjaxResult getDept(Integer id);

    AjaxResult updateDept(Dept dept);

    AjaxResult list();
}
